[index]
BackColor Property
Syntax
set the backColor of [<part> of]
<object> to <color>
Applies to bitmaps, buttons, datasheets, fields, groups, picklists, shapes
Description
The backColor property sets the background color of an object. The backColor is displayed only when certain object style values are set. For example, if a shape's or field's style is set to opaque, the backColor is displayed, but if its style is set to transparent, the backColor is not displayed.
The optional [<part> of] can be replaced by the colLabels part of a pickList or dataSheet, or by the label part of a bitmap or field.
The backColor property color values range from 0 to 255 for a named color. For a list of named colors, see the entry for the textColor property.
Examples
put the backColor of shape "test"
The line above returns the number of the backColor.
You can also use the set command to modify the background color. Type the following in the Message Box and press Enter:
set the backColor of shape "test" to 229 or
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.